﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UndoCommandSample
{
    class Adder
    {
        private int count = 0;
        public int Add(int value)
        {
            count += value;
            return count;
        }
    }
}
